import request from "@/utils/http";

  //# 轮播图
export const getSlideshow = (distributionSite = 1) => {
  return request({
    url: "/home/banner",
    data: {
      distributionSite,
    },
  });
};

  //# 前台分类
export const getReception = () => {
  return request({
    url: "/home/category/mutli",
  });
};

  //# 热门推荐 12宫格
export const getPopularity = () => {
  return request({
    url: "/home/hot/mutli",
  });
};

  //# 新鲜好物 4宫格
export const getFresh = (limit = 4) => {
  return request({
    url: "/home/new",
    data: {
      limit,
    },
  });
};

  //# 猜你喜欢
  export const getLike = (data) => {
    return request({
      url: "/home/goods/guessLike" ,
      data
    });
  };


